<?php
class MFormFile extends MFormInput {

    public function __construct($name, $form) {
        parent::__construct($name, $form);
        $this->_form->setEnctype(MForm::ENCTYPE_DATA);
        $this->setHtmlOption('type', 'file');
        if ($form->useFormee)
            $this->setHtmlOption('class', 'form-txt');
    }

}
?>
